package com.alpaak.ewell.factory.method3;

/**
* 类说明 ：测试
*/
public class Test {
 
    public static void main(String[] args) {
        AbstractFactory factory = null;
         
        factory = new XiaomiFactory();
        Mobile xiaomiMobile = factory.productMobile();
        MP3 xiaomiMp3 = factory.productMP3();

        factory = new HuaweiFactory();
        Mobile hwMobile = factory.productMobile();
        MP3 hwMp3 = factory.productMP3();

        factory = new BBGFactory();
        Mobile bbgMobile = factory.productMobile();
        MP3 bbgMp3 = factory.productMP3();
    }
}